package cn.ml.web1662.dao;


import cn.ml.web1662.entity.Pagination;
import cn.ml.web1662.entity.Student;

import java.util.List;

public interface StudentDao {
    Student get(int id);

    void update(Student student);

    void save(Student student);

    List<Student> list();

    void delete(int id);

    void listByPagination(Pagination<Student> pagination);

    boolean findByName(String name);
}
